package com.hqj.demo.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class TestAop {


    @Before(value = "@annotation(com.hqj.demo.entity.TestAopLog)")
    public void before(){
        System.out.println("前置通知");
    }
}
